math/rand/v2.Rand.uint64n (method)
9 uses
math/rand/v2 (current package)
rand.go#L68: return int64(r.uint64n(uint64(n)))
rand.go#L77: return r.uint64n(n)
rand.go#L81: func (r *Rand) uint64n(n uint64) uint64 {
rand.go#L175: return int32(r.uint64n(uint64(n)))
rand.go#L184: return uint32(r.uint64n(uint64(n)))
rand.go#L195: return int(r.uint64n(uint64(n)))
rand.go#L204: return uint(r.uint64n(uint64(n)))
rand.go#L245: j := int(r.uint64n(uint64(i + 1)))
rand.go#L327: return Int(globalRand.uint64n(uint64(n)))
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |